<div class="col-md-3">
    <div class="logo">
        <?php
        echo $this->Html->link($this->Html->image('logo_harrison.jpg', array('width' => '100%', 'height' => 'auto')), '/', array(
            'escape' => false,
            'title' => $cakeDescription
        ));
        ?>
    </div>                                
</div>
<div class="col-md-9">
    <div class="language-bar text-right ">

        <?php
        echo $this->Html->link('TH', 'javascript:void(0)', array(
            'onclick' => "changeLanguage('" . $this->webroot . "pages/changeLanguage/tha');",
            'title' => 'เปลี่ยนเป็นภาษาไทย',
            'escape' => false
        ))
        ?>
        &nbsp;&nbsp;|&nbsp;&nbsp;
        <?php
        echo $this->Html->link('EN', 'javascript:void(0)', array(
            'onclick' => "changeLanguage('" . $this->webroot . "pages/changeLanguage/eng');",
            'title' => 'Change to English Language',
            'escape' => false
        ))
        ?>


    </div>
    <div class="admin-bar text-right">  

        <?php
        echo 'Welcome ' . $this->Session->read('User.first_name') . ' ';
        if ($this->Session->check('User')) {
            echo $this->Html->link('Setting', '/Admins/', array(
                'title' => 'Admin Mode',
                'escape' => false
            ));
            ?>
            &nbsp;&nbsp;
            <?php
            echo $this->Html->link('<i class="icon-exit"></i> Log Out', '/users/signout', array(
                'title' => 'SignOut',
                'escape' => false
            ));
        } else {
            echo $this->Html->link('<i class="icon-user"></i> Log In', '/users/login', array(
                'title' => 'Sign in.',
                'escape' => false
            ));
        }
        ?>  
    </div>
</div>
<div class="col-md-12">                                          
    <?php include("new_menu.ctp"); ?>
</div>